Anti-patterns and the energy efficiency of Android applications
نویسندگان
چکیده
The boom in mobile apps has changed the traditional landscape of software development by introducing new challenges due to the limited resources of mobile devices, e.g., memory, CPU, network bandwidth and battery. The energy consumption of mobile apps is nowadays a hot topic and researchers are actively investigating the role of coding practices on energy efficiency. Recent studies suggest that design quality can conflict with energy efficiency. Therefore, it is important to take into account energy efficiency when evolving the design of a mobile app. The research community has proposed approaches to detect and remove anti-patterns (i.e., poor solutions to design and implementation problems) in software systems but, to the best of our knowledge, none of these approaches have included anti-patterns that are specific to mobile apps and–or considered the energy efficiency of apps. In this paper, we fill this gap in the literature by analyzing the impact of eight type of anti-patterns on a testbed of 59 android apps extracted from F-Droid. First, we (1) analyze the impact of anti-patterns in mobile apps with respect to energy efficiency; then (2) we study the impact of different types of anti-patterns on energy efficiency. We found that then energy consumption of apps containing anti-patterns and not (refactored apps) is statistically different. Moreover, we find that the impact of refactoring anti-patterns can be positive (7 type of anti-patterns) or negative (2 type of anti-patterns). Therefore, developers should consider the impact on energy efficiency of refactoring when applying maintenance activities.
منابع مشابه
NavyDroid: An Efficient Tool of Energy Inefficiency Problem Diagnosis for Android Applications
Energy inefficiency is an influential non-functional issue for smartphone applications, causing increased concerns from users. Locating these problems is labor-intensive, thus automated diagnosis tools are in demand. Some existing approaches detect energy inefficiency problems by exploring application states with the JPF framework, and get favorable results. However, the effects of these approa...
متن کاملEnergy Efficiency Policies in Urban Planning System, The Case of Iran
Urban areas are the main consumers of energy resources with a considerable amount of waste in building and transport sectors. This comes about due to inefficient development patterns as well as consumption habits. Towards steering an energy efficiency transformation in cities, it is thus crucial to develop policies, strategies and measures to improve efficiency in these sectors. Hence, not only...
متن کاملThe Reliability and Concurrent Validity of Digital Inclinometer, Smartphone Applications, and the Cervical Range of Motion Device for Measuring the Cervical Range of Motion
Objectives: Changes in the Range of Motion (ROM) are essential criteria in determining the severity of spinal disorders and could be effective in predicting pain progression. Instruments to measure the ROM are costly and unavailable in most therapy settings. While there is a tendency in therapists to use their smartphones instead, there is no report to measure the suitability of smartphones to ...
متن کاملA review on recent applications of brushless DC electric machines and their potential in energy saving
Electric motors are the largest consumer of world electric energy, consuming more than twice as much as lighting, the next largest consumer. Electric motors account for between 43 and 46% of all global electricity consumption approximately. They give rise to about 6 040 Mt of CO2 emissions. End‐users approximately spend USD 565 billion per year on electricity [1]. In recent years, increase in e...
متن کاملDesign and Evaluation of a Method for Partitioning and Offloading Web-based Applications in Mobile Systems with Bandwidth Constraints
Computation offloading is known to be among the effective solutions of running heavy applications on smart mobile devices. However, irregular changes of a mobile data rate have direct impacts on code partitioning when offloading is in progress. It is believed that once a rate-adaptive partitioning performed, the replication of such substantial processes due to bandwidth fluctuation can be avoid...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1610.05711 شماره
صفحات -
تاریخ انتشار 2016